package com.xdap.materialselect.entity.po;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.ColumnType;
import com.definesys.mpaas.query.annotation.Table;
import com.definesys.mpaas.query.json.MpaasDateTimeDeserializer;
import com.definesys.mpaas.query.json.MpaasDateTimeSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;

/**
 * @Description:
 * @Auther:huhanrui
 * @Date:2025/9/18 16:22
 */
@Data
@Table("t_mat_test")
public class TmatTest extends SystemCommon {

    @Column("batch")
    public String batch;

    @Column("packaging")
    public String packaging;

    @Column("inspection_id")
    public String inspectionId;

    @Column("value")
    public String value;

    @Column("round_value")
    public String roundValue;

    @Column("insepection_emp")
    public String insepectionEmp;

    @JsonDeserialize(using = MpaasDateTimeDeserializer.class)
    @JsonSerialize(using = MpaasDateTimeSerializer.class)
    @Column("insepection_time")
    public Date insepectionTime;

    @Column("remark")
    public String remark;

    @Column("customer_code")
    public String customerCode;

    @JsonDeserialize(using = MpaasDateTimeDeserializer.class)
    @JsonSerialize(using = MpaasDateTimeSerializer.class)
    @Column("create_time")
    public Date createTime;

    @JsonDeserialize(using = MpaasDateTimeDeserializer.class)
    @JsonSerialize(using = MpaasDateTimeSerializer.class)
    @Column("modify_time")
    public Date modifyTime;

    @Column("is_default")
    public String isDefault;

    @Column("inspection_code")
    public String inspectionCode;

    @Column("test_item_seq")
    public Integer testItemSeq;

    @Column("t_judgment_result")

    public String tJudgmentResult;

    @Column(type = ColumnType.JAVA)
    private String projectName;
}
